module.exports = {
    devServer: {
        // assetsSubDirectory: 'static',
        // assetsPublicPath: '/',
        proxy: {
            '/api': {
                target: 'http://www.mockhttp.cn/', //对应自己的接口
                changeOrigin: true,
                ws: true,
                pathRewrite: {
                    '^/api': '/api'
                    // '/api': ''
                }
            }
        },
    },
}